package runOob.Extends;

class Penguin extends Animal {
    private String Food;

    Penguin(String myName, int myId) {
        super(myName, myId);
    }

    @Override
    void eat() {
        System.out.print("企鹅：");
        super.eat();
    }

    void eat(String food) {
        System.out.println("正在吃: " + food);
    }
}
